package com.binance.notification.web.service.abnormaltrade.models;

import java.io.Serializable;
import java.util.Date;
import java.util.Map;

import com.binance.notification.web.service.abnormaltrade.enums.AbnromalTradeBusinessTypeEnum;
import com.binance.notification.web.service.abnormaltrade.enums.AbnromalTradeNoticeDescEnum;

/**
 * 价格异动信息提醒业务对象
 */
public class AbnormalTradeNoticeLogBo implements Serializable {
    private static final long serialVersionUID = -6872507806734070380L;
    private Integer id;

    private String symbol;// 交易对名字例如bnbusdt

    private String quoteAssetName;// 对标资产 比方说BTC,USDT

    private AbnromalTradeNoticeDescEnum descCode;// 文案描叙代号：比方说1代表拉升

    private AbnromalTradeBusinessTypeEnum businessType;// 类型：目前只有一个：AbnormalPrice

    private Map<String, String> businessData;// 不同的业务类型会存储不同的业务数据

    private Date createdTime;// 创建时间

    private Date updateTime;// 更新时间

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getSymbol() {
        return symbol;
    }

    public void setSymbol(String symbol) {
        this.symbol = symbol;
    }

    public String getQuoteAssetName() {
        return quoteAssetName;
    }

    public void setQuoteAssetName(String quoteAssetName) {
        this.quoteAssetName = quoteAssetName;
    }

    public AbnromalTradeNoticeDescEnum getDescCode() {
        return descCode;
    }

    public void setDescCode(AbnromalTradeNoticeDescEnum descCode) {
        this.descCode = descCode;
    }

    public AbnromalTradeBusinessTypeEnum getBusinessType() {
        return businessType;
    }

    public void setBusinessType(AbnromalTradeBusinessTypeEnum businessType) {
        this.businessType = businessType;
    }

    public Map<String, String> getBusinessData() {
        return businessData;
    }

    public void setBusinessData(Map<String, String> businessData) {
        this.businessData = businessData;
    }

    public Date getCreatedTime() {
        return createdTime;
    }

    public void setCreatedTime(Date createdTime) {
        this.createdTime = createdTime;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    @Override
    public String toString() {
        return "AbnormalTradeNoticeLogBo{" + "id=" + id + ", symbol='" + symbol + '\'' + ", quoteAssetName='"
                + quoteAssetName + '\'' + ", descCode=" + descCode + ", businessType=" + businessType
                + ", businessData=" + businessData + ", createdTime=" + createdTime + ", updateTime=" + updateTime
                + '}';
    }
}
